package com.privatbank.tables;

/**
 * Created by Slava on 26.07.2014.
 */
public class Good {
    private int idManufacturer;
    private String model;
    private int idCategory;
    private double price;
    private String description;
    private String image;
    private String storage;

    public Good() {

    }

    public Good(int id_manufacturer, String model, int id_category, double price, String description, String image, String storage) {
        this.idManufacturer = id_manufacturer;
        this.model = model;
        this.description = description;
        this.idCategory = id_category;
        this.image = image;
        this.price = price;
        this.storage = storage;
    }

    public void setIdManufacturer(int id_manufacturer) {
        this.idManufacturer = id_manufacturer;
    }

    public int getIdManufacturer() {
        return idManufacturer;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getModel() {
        return model;
    }

    public void setIdCategory(int id_category) {
        this.idCategory = id_category;
    }

    public int getIdCategory() {
        return idCategory;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getPrice() {
        return price;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getImage() {
        return image;
    }

    public void setStorage(String storage) {
        this.storage = storage;
    }

    public String getStorage() {
        return storage;
    }

    @Override
    public String toString() {
        return getStorage();
    }


}
